package cn.fz.luck.saas.model;

import javax.persistence.*;

@Table(name = "sys_office")
public class SysOffice {
    /**
     * 机构ID
     */
    @Id
    @Column(name = "OFFICE_ID")
    private String officeId;

    /**
     * 机构名称
     */
    @Column(name = "OFFICE_NAME")
    private String officeName;

    /**
     * 父级ID
     */
    @Column(name = "PARENT_ID")
    private String parentId;

    /**
     * 机构排序
     */
    @Column(name = "OFFICE_ORDER")
    private Integer officeOrder;

    /**
     * 机构状态
     */
    @Column(name = "OFFICE_TYPE")
    private Byte officeType;

    /**
     * 获取机构ID
     *
     * @return OFFICE_ID - 机构ID
     */
    public String getOfficeId() {
        return officeId;
    }

    /**
     * 设置机构ID
     *
     * @param officeId 机构ID
     */
    public void setOfficeId(String officeId) {
        this.officeId = officeId;
    }

    /**
     * 获取机构名称
     *
     * @return OFFICE_NAME - 机构名称
     */
    public String getOfficeName() {
        return officeName;
    }

    /**
     * 设置机构名称
     *
     * @param officeName 机构名称
     */
    public void setOfficeName(String officeName) {
        this.officeName = officeName;
    }

    /**
     * 获取父级ID
     *
     * @return PARENT_ID - 父级ID
     */
    public String getParentId() {
        return parentId;
    }

    /**
     * 设置父级ID
     *
     * @param parentId 父级ID
     */
    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    /**
     * 获取机构排序
     *
     * @return OFFICE_ORDER - 机构排序
     */
    public Integer getOfficeOrder() {
        return officeOrder;
    }

    /**
     * 设置机构排序
     *
     * @param officeOrder 机构排序
     */
    public void setOfficeOrder(Integer officeOrder) {
        this.officeOrder = officeOrder;
    }

    /**
     * 获取机构状态
     *
     * @return OFFICE_TYPE - 机构状态
     */
    public Byte getOfficeType() {
        return officeType;
    }

    /**
     * 设置机构状态
     *
     * @param officeType 机构状态
     */
    public void setOfficeType(Byte officeType) {
        this.officeType = officeType;
    }
}